import { ADD, SUB } from '../actionTypes'

export const addAction = () => {
	return {
		type: ADD,
		payload: {
			num: 1,
		},
	}
}
export const subAction = () => {
	return {
		type: SUB,
		payload: {
			num: -1,
		},
	}
}
